package javaEEBasic.day01;

public class test2 {
    public static void main(String[] args) {
    }
    public static void test01() {
        //报错是因为，默认认为你写的小数是double类型，同理
        //也会默认你写的整数类型是int类型
        //float a = 12.3;
        //Long b = 111112223224;
        float a = 12.3F;
        Long b = 111112223224L;
        System.out.println("==========类型转换--------");
        byte c = 12;
        char c1 = 'a';
        double c2 = c1;
        int d = c;
        float e = d;
        System.out.println(e);
        long f = c;
        float t = f;
    }
}
